﻿using System;
using System.Collections.Generic;
using System.Text;
using QLST_DTO;
using QLST_DAO;

namespace QLST_BUS
{
    public class LOAINHANVIENBUS
    {
        LOAINHANVIENDAO LoaiNVDao = new LOAINHANVIENDAO();

        /// <summary>
        /// Lay thong tin loai nhan vien
        /// </summary>
        /// <param name="MaLoai"></param>
        /// <returns></returns>
        public LOAI_NHAN_VIEN Get(int MaLoai)
        {
            return LoaiNVDao.GET(MaLoai);
        }

        public List<LOAI_NHAN_VIEN> GetDs()
        {
            return LoaiNVDao.GetDs();
        }

        public int Insert(LOAI_NHAN_VIEN lnv)
        {
            return LoaiNVDao.Insert(lnv);
        }

    }
}
